.shape {
  position: absolute;
  border: none !important;
  min-width: 0px;
  min-height: 0px;
  .pointer {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1px solid black;
    background-color: white;
  }
 .line{
   width: 2px;
   background-color: blue;
   position: absolute;
   z-index: 999;
 }
}
#p1{
  cursor: w-resize;
}
#p2{
  cursor: nw-resize;
}
#p3{
  cursor: n-resize;
}
#p4{
  cursor: ne-resize;
}
#p5{
  cursor: e-resize;
}
#p6{
  cursor: se-resize;
}
#p7{
  cursor: s-resize;
}
#p8{
  cursor: sw-resize;
}